import request from '@/utils/request'

export function saveProduct(data) {
  return request({
    url: 'api/product/back/product',
    method: 'post',
    data
  })
}
export function productListPage(params) {
  return request({
    url: 'api/product/back/product/page',
    method: 'get',
    params
  })
}
export function getProductDetail(id) {
  return request({
    url: 'api/product/back/product/info/'+id,
    method: 'get'
  })
}
